<template>
  <my-gradient title="未成年风险防控" left-gradient="#f0fdfe" right-gradient="#fefaf4" >
    <view class="index">
      <view class="flex">
        <up-avatar :size="128/2" text="无头像"></up-avatar>
        <view class="pl-20 py-14 flex flex-col justify-between">
          <view class="font-bold text-36 text-[#333333]">
            姓名
          </view>
          <view class="text-[#666666] aaa">
            500235199512200023
          </view>
        </view>
      </view>
      <button @click="jumpHandle">跳转</button>
    </view>
  </my-gradient>
</template>

<script setup lang="ts">
import {useCounterStore} from '@/stores/counter';
import {ref} from 'vue';
import {onLoad} from '@dcloudio/uni-app'
import myGradient from '@/components/myGradient/myGradient.vue';

const store = useCounterStore()

const title = ref<string>('Hello')

function jumpHandle(){
  uni.navigateTo({
    url: '/pages/ces/ces'
  })
}

onLoad(() => {
  // const res = await getUserInfo()
  // console.log(res.data);
  // uni.setNavigationBarColor({
  //   backgroundColor: '#eefeff',
  // })
})
</script>

<style scoped lang="scss">
@import "@/minx.scss";

.index {
  padding: 32rpx;
  //@include my_gradient(#ff5a8c, #ff6168);
  height: 800px;

}
</style>